import { get, post } from '@/utils/methods';

// 新增机房项目
export function addProject(data: any) {
  return post('/roomConfiguration/addRoomConfiguration', data);
}

// 获取机房项目
export function getAllData(data: any) {
  return get('/roomConfiguration/getAllData', data);
}

// 删除机房项目
export function deleteRoomConfig(data: any) {
  return get('/roomConfiguration/deleteRoomConfiguration', data);
}

// 上传机房底图
export function uploadImage(data: any) {
  return get('/roomConfiguration/uploadImage', data);
}

// 机房组态图JONG文件
export function saveRoomConfig(data: any) {
  return get('/roomConfiguration/saveRoomConfiguratio', data);
}

// 机房组态图JONG文件
export function getRoomConfig(data: any) {
  return get('/roomConfiguration/getConfigure', data);
}

// 机房组态图JONG文件
export function getRoomData(data: any) {
  return get('/roomConfiguration/getConfigure', data);
}
